module.exports = {
  apps: [
    {
      name: "yutong",
      script: "./app.js", // 如果你入口文件是 index.js 就改成 index.js

      env: {
        NODE_ENV: "production",
        PORT: 3000,

        // 数据库配置
        DB_NAME: "express_demo",
        DB_USER: "root",
        DB_PASSWORD: "NewStrong@123",
        DB_HOST: "0.0.0.0",
        DB_PORT: 3306,

        // JWT 密钥
        JWT_SECRET: "75bb58fad4084f949241446d4acc0e6600ac84df49a2627e67dd50945d9fe415",

        // OSS 密钥（关键点）
        OSS_ACCESS_KEY_ID: "LTAI5t7WCmddKkujVAxnDGWu",
        OSS_ACCESS_KEY_SECRET: "PAiOgaHHSERE9Ajlmwrt90UHtQ5DFZ",
        OSS_ROLE_ARN: "acs:ram::1840070654707991:role/use-oss-new",
        OSS_BUCKET: "yton",

        WX_APPID: "wx9a8b71874da976f4",
        WX_SECRET: "3d48c03578f43be67b5f2619eb0f80b9"
      }
    }
  ]
};
